import request from '@/utils/request.js'

/**
 *  获取房屋信息
 * @param {*} code  houseCode
 */
export function getHouseInfo (code) {
  return request({
    url: '/houses/' + code
  })
}

export function getHouseNeed (token) {
  return request({
    url: '/houses/params',
    headers: {
      authorization: token
    }
  })
}
